home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 9 / Night Owl CD-ROM (NOPV9) (Night Owl Publisher) (1993).ISO / 002a / vc50_jan.zip / TECHREF.DOC < prev    next >
Text File  |  1993-01-24  |  9KB  |  291 lines

  1.  
  2.                          Victor Charlie Ver 5.0
  3.                       Technical Summary Reference
  4.  
  5. This file is a no-frills summary of technical information about use of 
  6. Victor Charlie. It may be handy for those who like to "do it by hand" 
  7. with their own batch or shell programs, or directly from the command 
  8. line.
  9.  
  10.                         COMMAND LINE ARGUMENTS
  11.  
  12. Initialization Only:
  13. VC1 [DEMO][HELP][-][newVSIGname] [newHELPname]
  14.                  |---set VCHECK to no "intelligence" in case of False Alarms
  15.  
  16. Initialization MUST be done in this sequence:
  17.      COPY VC1 VC1.COM
  18.      VC1
  19.      copy vc1    vc1.bin      (to save your initialized version)
  20.      COPY VC2    VC2.EXE
  21.      COPY VCHECK VCHECK.COM
  22.      COPY VCOMP  VCOMP.COM
  23.      COPY VC     VC.EXE
  24.      copy vc.bin vcbin        (optional, save a backup)
  25.  
  26.      GET, PTRESQ, and BOOTFIX are not part of the initialization 
  27.      process. They can be made into executable files at any time, e.g.
  28.                COPY BOOTFIX BOOTFIX.COM
  29.  
  30.                            ===/===/===/===
  31.  
  32. Post-Initialization (normal, daily) use:
  33.  
  34. VC1 [HUSH][DEMO][HELP]
  35. VC2 [HUSH][DEMO][HELP]
  36. VCHECK [HUSH][ONLY][HELP][DEMO][.][-][/outfile][D ][filespec (filespec...)]
  37. VCOMP [file1 file2]
  38.  
  39.                            ===/===/===/===
  40.  
  41. ERRORCODE Returns
  42.  
  43. VC.EXE:
  44. 0  = OK
  45. 1  = WRONG DOS VERSION (if 2.0, no return if 1.x)
  46. 2  = COULD NOT FIND MYSELF
  47. 3  = NOT INITIALIZED BY VC1
  48. 4  = MEMORY ALLOCATION ERROR
  49. 5  = VC.BIN BAD (BITCHECK FAILED OR COULD NOT RUN OR MISSING)
  50. 9  = VIRUS DETECTED, FILE INFECTOR
  51. 13 = 4 + 9 ABOVE
  52.  
  53. VC1.COM:
  54. 0  = OK
  55. 1  = WRONG DOS VERSION (if 2.0, no return if 1.x)
  56. 2  = COULD NOT FIND MYSELF
  57. 3  = UNSAFE/BAD INITIALIZATION CONDITON
  58. 4  = MEMORY ALLOCATION ERROR
  59. 5  = EFFECTIVE MEMORY CHANGE (MEMORY PARASITE)
  60. 6  = BAD FILE FOUND IN VC1.CFG (MAGIC1)
  61. 7  = VIRUS DETECTED, BOOT INFECTOR
  62. 9  = VIRUS DETECTED, FILE INFECTOR
  63. 10 = BAD FILE FOUND IN VC1.CFG QUALIFIED TO ATTEMPT A SIG CAPTURE
  64.      (EXE OR COM < 64K) (MAGIC2)
  65. 13 = magic1 + boot
  66. 15 = magic1 + file
  67. 16 = boot + file
  68. 17 = boot + magic2
  69. 19 = file + magic2
  70. 22 = magic1 + boot + file
  71. 26 = boot + file + magic2
  72.  
  73. VC2.EXE
  74. 0  = OK
  75. 1  = WRONG DOS VERSION (if 2.0, no return if 1.x)
  76. 2  = COULD NOT FIND MYSELF
  77. 3  = NOT INITIALIZED BY VC1
  78. 4  = MEMORY ALLOCATION ERROR
  79. 9  = VIRUS DETECTED, FILE INFECTOR
  80.  
  81. VCHECK.COM:
  82. 0  = OK
  83. 1  = WRONG DOS VERSION (if 2.0, no return if 1.x)
  84. 2  = COULD NOT FIND MYSELF
  85. 3  = NOT INITIALIZED BY VC1
  86. 4  = MEMORY ALLOCATION ERROR
  87. 5  = INTERRUPTED BY USER
  88. 6  = DID NOT LIKE BOOT SECTOR OF FLOPPY
  89. 9  = VIRUS DETECTED, FILE INFECTOR
  90. 11, 14, 15, 20 = combinations of 5,6,9 above
  91.  
  92. VCOMP.COM:
  93. 0  = OK
  94. 1  = WRONG DOS VERSION (if 2.0, no return if 1.x)
  95. 2  = COULD NOT FIND MYSELF
  96. 3  = NOT INITIALIZED BY VC1
  97. 4  = MEMORY ALLOCATION ERROR
  98. 5  = BAD INPUT FILE
  99. 6  = STATISTICS SAME IN BOTH LISTS, BUT LISTS DIFFER
  100. 7  = SOMETHING IN LIST HAS MISMATCHED STATISTICS
  101. 9  = VIRUS DETECTED, FILE INFECTOR
  102. 14 = 5 + 9 ABOVE
  103. 15 = 6 + 9 ABOVE
  104. 16 = 7 + 9 ABOVE
  105.  
  106. PTRESQ.COM, BOOTFIX.COM:
  107. 0  = OK
  108. 1  = WRONG DOS VERSION (if 2.0, no return if 1.x)
  109. 2  = COULD NOT FIND MYSELF
  110. 3  = OTHER FAILURES (See below)
  111. 4  = TRIED TO RUN FROM HARD DISK, DELETED
  112. 9  = VIRUS DETECTED, FILE INFECTOR
  113.  
  114. GET.COM
  115. 0 - 90 = OK, NORMAL RETURN
  116. 201    = WRONG DOS VERSION (if 2.0, no return if 1.x)
  117. 202    = COULD NOT FIND MYSELF
  118. 203    = ! COMMAND FAILED
  119. 209    = VIRUS DETECTED, FILE INFECTOR
  120. (See also GET for other special features and returns)
  121.  
  122.                            ===/===/===/===
  123.  
  124.                  
  125. Possible VC1 alarms during Initialization (returns error code 3)
  126.  
  127.         !!!   CONDITIONS NOT SAFE TO INITIALIZE VC1  !!!
  128.  
  129.      TROUBLE: Not initializing with clean boot. (Interrupt #)
  130.      TROUBLE: (VC.BIN VC VC2 VCHECK VCOMP) file not found.
  131.      TROUBLE: Danger in hard disk Partition Sector.
  132. Hit [H] key for help | any other key to quit ==>
  133. ...
  134. [H]elp | [F]ix - see warnings | [I]nitialize anyway | 
  135.           Other key to quit ==>
  136.  
  137.      TROUBLE: Cannot install in network drive.
  138.      TROUBLE: Do not install in root of hard disk.
  139.      TROUBLE: Bad filename(s) in command line.
  140.      TROUBLE: Bad filename(s): 2nd letter of new name must NOT be "B"
  141.      TROUBLE: Not enough free memory.
  142.  
  143. Other programs will generate errorcode 3 if not initialized. They 
  144. will display the following message:
  145.  
  146.          !!! THIS PROGRAM HAS NOT BEEN INITIALIZED !!!
  147.  
  148. Please follow the detailed installation instructions in the manual,
  149. or perform all the steps recommended by the install program.
  150.  
  151.                            ===/===/===/===
  152.  
  153.  
  154. Special alarm messages and Errorcodes:
  155.  
  156. ALL: EC=1
  157. Must be DOS 3.0 or higher.
  158.  
  159. ALL: EC=2
  160. (my name) file not found.
  161.  
  162. ALL: EC=4
  163. Not enough free memory.
  164.  
  165. VCOMP.COM: EC=5
  166. File specified does not exist or was not made by VCHECK.COM.
  167.  
  168. VC.EXE: EC=5
  169. (vc.bin) FILE NOT FOUND
  170. COULD NOT EXEC (vc.bin)
  171.  
  172. PTRESQ: EC=3
  173.  
  174. RESTORE ATTEMPT FAILED
  175. COULD NOT CREATE C:\PT[n].CPY
  176. COULD NOT READ PARTITION SECTOR
  177. COULD NOT FIND HARD DISK
  178.  
  179.                            ===/===/===/===
  180.  
  181.  
  182. Victor Charlie's resource usage:
  183.  
  184. These programs are not frugal about memory use.  They grab huge 
  185. chunks, like 64K file buffers, which is very fast. Here's what they 
  186. actually need to function:
  187.  
  188. VC        128K itself, size of VC.EXE + size of VC.BIN to run 
  189.           to run VC.BIN.
  190. VC1       256K
  191. VC2       128K
  192. VCHECK    256K
  193. VCOMP     256K
  194.                            
  195.                            ===/===/===/===
  196.  
  197.  
  198. Special-case command-line (or batch-file) arguments:
  199.  
  200.      VC1 HUSH
  201.  
  202.      HUSH is ignored for any initialization run of VC1.
  203.      It should always be obvious that this special event 
  204.      is happening.
  205.  
  206.      hush      Suppress all display UNTIL something goes wrong; 
  207.                normal displays thereafter.
  208.              
  209.      VC2 HUSH
  210.      
  211.      hush      Suppress all display UNTIL something goes wrong, 
  212.                normal displays thereafter.
  213.                
  214.      VCHECK HUSH/ONLY
  215.  
  216.      Both of these args are "eaten" by VCHECK, which means 
  217.      they can PRECEDE any other args. Args must be separated 
  218.      by a space.
  219.      
  220.      hush      Suppress virus check.  Suppress non-redirectable 
  221.                display.  In effect you see on the screen what 
  222.                you'd see in a file you'd redirect to.  So if you 
  223.                redirect, you'll see nothing at all.  Screen 
  224.                display is turned back on (hush turned off) if 
  225.                the user interrupts the check by hitting a key, 
  226.                or if VCHECK was self-infected.  ("no-start" 
  227.                messages 1-4 are always displayed, as with the 
  228.                other programs.)
  229.  
  230.      only      This is an independent special argument that 
  231.                restricts inspection to the current drive and 
  232.                turns off virus checking.  If someone wants to 
  233.                check only a certain drive for virus, then he 
  234.                just gives that drive letter on the command 
  235.                line.
  236.                
  237.      VCOMP
  238.      
  239.      No use of special argument.  Normally VCOMP does not display 
  240.      anything but exceptions and concluding messages if both 
  241.      file names are given on the command line, and everything 
  242.      may be redirected anyway.
  243.                            
  244.                            ===/===/===/===
  245.  
  246.  
  247. Victor Charlie programs "communicate" with each other during normal, 
  248. post-initialization use. Here is a list of "dependent files" upon 
  249. which VC relies, and how they interact with each other.
  250.  
  251. [P] means path and basename of parent.
  252. [N] means current path and basename of parent.
  253. [H] means path of home directory.
  254.  
  255. The default name of the signature file is [H]\vc.sig.
  256. The default name of the BOOT signature file is [H]\vB.sig.
  257. The default name of the help file is [H]\vc.hlp.
  258. These may be set by the user to ANYTHING by putting new names on 
  259. the command line for VC1 at init time:
  260.      VC1 newsigname newhelpname
  261. Thereafter the names will be
  262.      [H]\newsigname and [H]\newhelpname,
  263.      [H]\nBwsigname
  264.  
  265.                CREATES/WRITES      LOOKS FOR
  266.  
  267. VC1            [H]\0??????? (init) [H]\0???????
  268.                [H]\1??????? (init) [H]\1???????
  269.                [H]\signature-file  [H]\help-file
  270.                                    [P].CFG
  271.                                    [H]\VC     (init)
  272.                                    [H]\VC1    (init)
  273.                                    [H]\VC2    (init)
  274.                                    [H]\VCHECK (init)
  275.  
  276. VC2            [H]\signature-file  [H]\help-file
  277.  
  278. VCHECK         [P].LOG             [N].CFG
  279.                [H]\signature-file  [P].CFG
  280.                                    [H]\signature-file
  281.                                    [H]\sBgnature-file
  282.                                    [H]\help-file
  283.  
  284. VC             [H]\signature-file  [P].BIN
  285.  
  286. PTRESQ.COM     \PT[n].CPY
  287.  
  288.                            ===/===/===/===
  289.  
  290.  
  291.